package cqrtplm.mapper;

import cqrtplm.dto.query.EuEmissionsNOQueryDTO;
import cqrtplm.entity.RtCertFieldEuemissionsnoRelationDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface RtCertFieldEuemissionsnoRelationMapper {

    List<RtCertFieldEuemissionsnoRelationDO> selectRtCertFieldEuemissionsnoRelationList(
            RtCertFieldEuemissionsnoRelationDO rtCertFieldEuemissionsnoRelation);

    RtCertFieldEuemissionsnoRelationDO selectRtCertFieldEuemissionsnoRelationById(String id);

    RtCertFieldEuemissionsnoRelationDO selectRtCertFieldEuemissionsnoRelationByFiledIdAndCustomId(
            @Param("filedId") String filedId, @Param("customId") String customId);

    int insertRtCertFieldEuemissionsnoRelation(RtCertFieldEuemissionsnoRelationDO rtCertFieldEuemissionsnoRelation);

    int updateRtCertFieldEuemissionsnoRelation(RtCertFieldEuemissionsnoRelationDO rtCertFieldEuemissionsnoRelation);

    int deleteRtCertFieldEuemissionsnoRelationById(String id);

    int deleteRtCertFieldEuemissionsnoRelationByIds(@Param("ids") List<String> ids);

    List<RtCertFieldEuemissionsnoRelationDO> queryRtCertFieldEuemissionsnoRelationList(EuEmissionsNOQueryDTO entity);
}